/*
# MIAHX© 用户感知数据帧消息的 FastDDS 发布器/订阅器（C++实现）

Version: 0.4.10,
Last updated: October 19, 2024

## Contributor(s)
* YAO Naiming <[naiming@iscas.ac.cn](mailto:naiming@iscas.ac.cn)>

## Change log
### v0.4.10
- .19: [新增] 初始实现

---
Copyright © 2024-2025 MIAHX Contributors, ISCAS, and ASIC. All Rights Reserved.
Licensed under Apache-2.0.
*/

#pragma once

#include "reader.h"


/**
 * @brief 用户感知数据流读取器
 */
class UserStreamReader : public Reader {
public:
    /**
     * @brief 构造函数
     *
     * @param participant FastDDS 参与者接口
     * @param on_data_listener 数据监听器函数指针
     * @param user_state 用户自定义状态，Nodejs 插件需要
     */
    MIAHX_WRAPPER_API
    explicit UserStreamReader(Participant *participant, const string &topic_name,
                              data_listener &on_data_listener, void *user_state);
};
